Skip to content

build(deps): bump pmd-tool.version from 7.27.0 to 7.28.0 - #87

Merged
github-actions[bot] merged 1 commit into
masterfrom
dependabot/maven/pmd-tool.version-7.28.0
Oct 2, 2026
Merged

github-actions[bot] merged 1 commit into
masterfrom
dependabot/maven/pmd-tool.version-7.28.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Bumps pmd-tool.version from 7.27.0 to 7.28.0.
Updates net.sourceforge.pmd:pmd-java from 7.27.0 to 7.28.0

Release notes

Sourced from net.sourceforge.pmd:pmd-java's releases.

PMD 7.28.0 (25-September-2026)

25-September-2026 - 7.28.0

The PMD team is pleased to announce PMD 7.28.0.

This is a minor release.

Table Of Contents

🚀️ New and noteworthy

Kotlin XPath functions and type attributes

Type data is now accessible in XPath rules via new attributes and helper functions (see Kotlin XPath rule support):

  • Type-info Attributes: @TypeName, @ReturnTypeName, @AnnotationFqNames are exposed on declaration nodes (property, function, class, parameter, catch, for-loop, delegation specifier, annotation nodes). These attributes depend on type resolution: they are only available when auxClasspath is configured and the kotlin-type-mapper analysis has resolved the types.
  • General Attributes: @Mutable, @Identifier, @Name are exposed on declaration and import related nodes. These attributes don't depend on type resolution, so they're always present regardless of auxClasspath.
  • XPath functions:
    • pmd-kotlin:typeIs(typeName): matches if the node's type is typeName or a subtype.
    • pmd-kotlin:typeIsExactly(typeName): matches the exact declared type only (no subtypes).
    • pmd-kotlin:hasAnnotation(name): matches if the node has an annotation with the given simple or FQN.
    • pmd-kotlin:modifiers(): returns the modifier keywords of a declaration as a sequence.
    • pmd-kotlin:isNullable(): returns true if the node's declared type is nullable (has ?).
    • pmd-kotlin:hasUnresolvedReference(): returns true if the node contains an unresolved reference.
    • pmd-kotlin:matchesSig(signature): matches call sites by method signature pattern (supports wildcards).

🌟️ New and Changed Rules

New Rules

  • The new Java rule OnDemandImport reports on-demand imports, also known as wildcard imports. By default, static imports from JUnit and TestNG are allowed. The allowed static and type import packages can be configured with allowStaticImportsFrom and allowTypeImportsFrom.
  • The new Java rule LongLiteralEndingWithLowercaseL finds long literals ending with a lowercase l.

... (truncated)

Commits
  • 79726f0 [release] prepare release pmd_releases/7.28.0
  • ba7d31e Prepare pmd release 7.28.0
  • fb85046 Update contributors for 7.28.0
  • 5569f8c [doc] Update release notes for 7.28.0 (#7106)
  • ca7381c [doc] Add gradle environment vars example (#7111)
  • 388f07a [java] Fix #7101: Skip non-archive files on the auxclasspath (#7102)
  • 251ef73 [cli] Add the missing exit code 5 to the CLI help (#7090)
  • 1831734 [doc] TOC highlighting improvements (#7089)
  • 383ff52 [java] Fix #7056: Add JavaLanguageProperty to disable auxClasspath warnings (...
  • 0a14568 [java] New rule: InternalApiUsage (#6994)
  • Additional commits viewable in compare view

Updates net.sourceforge.pmd:pmd-core from 7.27.0 to 7.28.0

Release notes

Sourced from net.sourceforge.pmd:pmd-core's releases.

PMD 7.28.0 (25-September-2026)

25-September-2026 - 7.28.0

The PMD team is pleased to announce PMD 7.28.0.

This is a minor release.

Table Of Contents

🚀️ New and noteworthy

Kotlin XPath functions and type attributes

Type data is now accessible in XPath rules via new attributes and helper functions (see Kotlin XPath rule support):

  • Type-info Attributes: @TypeName, @ReturnTypeName, @AnnotationFqNames are exposed on declaration nodes (property, function, class, parameter, catch, for-loop, delegation specifier, annotation nodes). These attributes depend on type resolution: they are only available when auxClasspath is configured and the kotlin-type-mapper analysis has resolved the types.
  • General Attributes: @Mutable, @Identifier, @Name are exposed on declaration and import related nodes. These attributes don't depend on type resolution, so they're always present regardless of auxClasspath.
  • XPath functions:
    • pmd-kotlin:typeIs(typeName): matches if the node's type is typeName or a subtype.
    • pmd-kotlin:typeIsExactly(typeName): matches the exact declared type only (no subtypes).
    • pmd-kotlin:hasAnnotation(name): matches if the node has an annotation with the given simple or FQN.
    • pmd-kotlin:modifiers(): returns the modifier keywords of a declaration as a sequence.
    • pmd-kotlin:isNullable(): returns true if the node's declared type is nullable (has ?).
    • pmd-kotlin:hasUnresolvedReference(): returns true if the node contains an unresolved reference.
    • pmd-kotlin:matchesSig(signature): matches call sites by method signature pattern (supports wildcards).

🌟️ New and Changed Rules

New Rules

  • The new Java rule OnDemandImport reports on-demand imports, also known as wildcard imports. By default, static imports from JUnit and TestNG are allowed. The allowed static and type import packages can be configured with allowStaticImportsFrom and allowTypeImportsFrom.
  • The new Java rule LongLiteralEndingWithLowercaseL finds long literals ending with a lowercase l.

... (truncated)

Commits
  • 79726f0 [release] prepare release pmd_releases/7.28.0
  • ba7d31e Prepare pmd release 7.28.0
  • fb85046 Update contributors for 7.28.0
  • 5569f8c [doc] Update release notes for 7.28.0 (#7106)
  • ca7381c [doc] Add gradle environment vars example (#7111)
  • 388f07a [java] Fix #7101: Skip non-archive files on the auxclasspath (#7102)
  • 251ef73 [cli] Add the missing exit code 5 to the CLI help (#7090)
  • 1831734 [doc] TOC highlighting improvements (#7089)
  • 383ff52 [java] Fix #7056: Add JavaLanguageProperty to disable auxClasspath warnings (...
  • 0a14568 [java] New rule: InternalApiUsage (#6994)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 2, 2026
@dependabot
dependabot Bot requested a review from namanONcode as a code owner October 2, 2026 17:04
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 2, 2026
@github-actions
github-actions Bot enabled auto-merge October 2, 2026 17:04
@dependabot
dependabot Bot force-pushed the dependabot/maven/pmd-tool.version-7.28.0 branch from c1c6193 to 3937f35 Compare October 2, 2026 17:08
Bumps `pmd-tool.version` from 7.27.0 to 7.28.0.

Updates `net.sourceforge.pmd:pmd-java` from 7.27.0 to 7.28.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](pmd/pmd@pmd_releases/7.27.0...pmd_releases/7.28.0)

Updates `net.sourceforge.pmd:pmd-core` from 7.27.0 to 7.28.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](pmd/pmd@pmd_releases/7.27.0...pmd_releases/7.28.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-version: 7.28.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-version: 7.28.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/maven/pmd-tool.version-7.28.0 branch from 3937f35 to 8c1aee4 Compare October 2, 2026 17:10
@github-actions
github-actions Bot merged commit 639930c into master Oct 2, 2026
4 checks passed
@dependabot
dependabot Bot deleted the dependabot/maven/pmd-tool.version-7.28.0 branch October 2, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants